home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1996 July
/
Macworld (1996-07).dmg
/
Demos
/
DK Demos
/
Support
/
DOSSETUP
/
dossetup.bat
next >
Wrap
DOS Batch File
|
1996-05-24
|
4KB
|
85 lines
@echo off
echo Dorling Kindersley Multimedia Backup Installer (From CDROM Version)...
echo Version 1.0
echo.
REM First check if install windows path is valid & current drive = cd drive.
set windowspath=c:\windows
if not "%1"=="" set windowspath=%1
if not exist \dkcode\ole2.dl_ goto ErrorLogCDFirst
if not exist %windowspath%\win.com goto ErrorWinPath
REM Now expand all the files from the CD to the windows directory.
expand \dkcode\MPLAYER.EX_ %windowspath%\MPLAYER.EXE
expand \dkcode\MPLAYER.HL_ %windowspath%\MPLAYER.HLP
expand \dkcode\MPLAYER.RE_ %windowspath%\MPLAYER.REG
expand \dkcode\OLE2.RE_ %windowspath%\OLE2.REG
expand \dkcode\CLEANUP.RE_ %windowspath%\CLEANUP.REG
REM Now expand all the files from the CD to the windows system directory.
expand \dkcode\ACMCMPRS.DL_ %windowspath%\system\ACMCMPRS.DLL
expand \dkcode\AVICAP.DL_ %windowspath%\system\AVICAP.DLL
expand \dkcode\AVIFILE.DL_ %windowspath%\system\AVIFILE.DLL
expand \dkcode\COMPOBJ.DL_ %windowspath%\system\COMPOBJ.DLL
expand \dkcode\CTL3D.DL_ %windowspath%\system\CTL3D.DLL
expand \dkcode\DCISVGA.DR_ %windowspath%\system\DCISVGA.DRV
expand \dkcode\DISPDIB.DL_ %windowspath%\system\DISPDIB.DLL
expand \dkcode\DVA.38_ %windowspath%\system\DVA.386
expand \dkcode\ICCVID.DR_ %windowspath%\system\ICCVID.DRV
expand \dkcode\IMAADPCM.AC_ %windowspath%\system\IMAADPCM.ACM
expand \dkcode\IR21.DL_ %windowspath%\system\IR21.DLL
expand \dkcode\IR32.DL_ %windowspath%\system\IR32.DLL
expand \dkcode\IYVU9.DL_ %windowspath%\system\IYVU9.DLL
expand \dkcode\MAP_WIN.HL_ %windowspath%\system\MAP_WIN.HLP
expand \dkcode\MCIAVI.DR_ %windowspath%\system\MCIAVI.DRV
expand \dkcode\MCIOLE.DL_ %windowspath%\system\MCIOLE.DLL
expand \dkcode\MSACM.DL_ %windowspath%\system\MSACM.DLL
expand \dkcode\MSACM.DR_ %windowspath%\system\MSACM.DRV
expand \dkcode\MSADPCM.AC_ %windowspath%\system\MSADPCM.ACM
expand \dkcode\MSRLE.DR_ %windowspath%\system\MSRLE.DRV
expand \dkcode\MSVIDC.DR_ %windowspath%\system\MSVIDC.DRV
expand \dkcode\MSVIDEO.DL_ %windowspath%\system\MSVIDEO.DLL
expand \dkcode\OLE2.DL_ %windowspath%\system\OLE2.DLL
expand \dkcode\OLE2CONV.DL_ %windowspath%\system\OLE2CONV.DLL
expand \dkcode\OLE2DISP.DL_ %windowspath%\system\OLE2DISP.DLL
expand \dkcode\OLE2NLS.DL_ %windowspath%\system\OLE2NLS.DLL
expand \dkcode\OLE2PROX.DL_ %windowspath%\system\OLE2PROX.DLL
expand \dkcode\STDOLE.TL_ %windowspath%\system\STDOLE.TLB
expand \dkcode\STORAGE.DL_ %windowspath%\system\STORAGE.DLL
expand \dkcode\TYPELIB.DL_ %windowspath%\system\TYPELIB.DLL
expand \dkcode\WING.DL_ %windowspath%\system\WING.DLL
expand \dkcode\WING32.DL_ %windowspath%\system\WING32.DLL
expand \dkcode\WINGDE.DL_ %windowspath%\system\WINGDE.DLL
expand \dkcode\WINGDIB.DR_ %windowspath%\system\WINGDIB.DRV
expand \dkcode\WINGPAL.WN_ %windowspath%\system\WINGPAL.WND
REM Now run the Windows program to set ini settings & merge registry files...
REM N.B. it will also exit Windows when done...
%windowspath%\win.com \support\dossetup\iniupd.exe
REM Check that Windows exited still logged onto the CD drive letter...
if not exist \dkcode\ole2.dl_ goto BadExitWinDrv
REM Now run the normal setup to add icons & copy the program files...
%windowspath%\win.com \setup.exe
goto End
:ErrorLogCDFirst
echo You must log onto your CD drive letter first.
echo.
echo E.g. if your CD drive letter is "e" type "e:" [return] before running dossetup.
echo.
goto End
:ErrorWinPath
echo Type: "a:dossetup [your windows directory here] [return]"
echo.
echo E.g. if windows is in "c:\windows" type "dossetup c:\windows" and then [return]
echo.
goto End
:BadExitWinDrv
echo Now re-load windows and run the setup program as specified in the instructions.
echo.
:End